package com.example.mybatis.mapper;

import com.example.mybatis.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoMapperXML {
    List<UserInfo> selectList();
    List<UserInfo> selectList2();
    List<UserInfo> selectList3();
    Integer insertUser(UserInfo userInfo);
    Integer insertUser2(@Param("userInfo") UserInfo userInfo);
    Integer deleteUserById(Integer id);
    Integer updateUser(UserInfo userInfo);
    Integer insertUserByCondition(UserInfo userInfo);
    List<UserInfo> selectByCondition(UserInfo userInfo);
    Integer updateUserByCondition(UserInfo userInfo);
    Integer batchDelete(List<Integer> ids);
}




































